import {GETMOVIE} from "../constents/movieConst"
import store from "../store"

export const getMovieAction =(data=1)=>{
    return ()=>{
        store.dispatch({
            type:GETMOVIE,
            data
        })
    }
}

